package netty.dubbo.server.registry;

/**
 * @author: 程序员七哥
 * @date: 2021-12-19
 * @description: 用于服务注册的接口
 */
public interface RegistryCenter {

    /**
     * 注册接口
     * @param serviceName 服务名称，一般为接口名
     * @param serviceAddress IP：Port
     * @throws Exception
     */
    void register(String serviceName, String serviceAddress) throws Exception;
}
